+2005-03-17 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix):
+ Make inline completion insert the prefix at the
+ right spot. (#170146, Doug Quale)
+
2005-03-17 Tor Lillqvist <tml@novell.com>
* gdk/gdkkeynames.c: gdk_key is a typedef, not a struct tag.
+2005-03-17 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix):
+ Make inline completion insert the prefix at the
+ right spot. (#170146, Doug Quale)
+
2005-03-17 Tor Lillqvist <tml@novell.com>
* gdk/gdkkeynames.c: gdk_key is a typedef, not a struct tag.
+2005-03-17 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix):
+ Make inline completion insert the prefix at the
+ right spot. (#170146, Doug Quale)
+
2005-03-17 Tor Lillqvist <tml@novell.com>
* gdk/gdkkeynames.c: gdk_key is a typedef, not a struct tag.
{
gint key_len;
gint prefix_len;
- gint pos;
const gchar *key;
prefix_len = g_utf8_strlen (prefix, -1);
if (prefix_len > key_len)
{
+ gint pos = prefix_len;
+
gtk_editable_insert_text (GTK_EDITABLE (completion->priv->entry),
prefix + key_len, -1, &pos);
gtk_editable_select_region (GTK_EDITABLE (completion->priv->entry),